package sicnu.cs.ich.ich.ranking.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import sicnu.cs.ich.api.common.ResultInfo;

import java.util.List;
import java.util.Map;

/**
 * @author 黎琦
 * @date 2021/12/24 3:43
 **/
//@FeignClient(name = "activity-service",path = "/auth/activity")
public interface ActivityFeign {

    /**
     * 获取计算活动热度排行榜所需数据
     *
     * @return
     */
    @GetMapping("/rankNeed")
    ResultInfo<List<Map<Integer,Long>>> rankNeedData();
}
